<?php
class pageTest extends BasePage{
	
	public function draw(){
		
		$resp = F::get()->APICaller()->submit('login', array('username'=>'dee','password'=>'dee') );
		
		echo('<pre>');
		var_dump($resp);
		echo('</pre>');
		
		/* 
		$resp =  F::get()->APICaller()->submit('callTableClassKey',
			array(
				'tableName'=>'Mod_Text',
				'columnId'=>'1',
				'columnName'=>'id'
				)
			);
		
		$postVals = array();
		$postVals['datatypeVal']['title'] = 'New Test';
		$postVals['switch'] 							= '';		
		
		$resp =  F::get()->APICaller()->submit('callTableClassMethod',
			array(
				'key'=>$resp['key'], 
				'method'=>'post',
				'postdata'=>$postVals
				)
			);
		
		 
		 */
		
		$page = F::get()->loader('Mod_Text', 1, true);
		$page->draw();
		
		$page = F::get()->loader('Mod_Image', 1, true);
		$page->draw();
	}
	
	public function post(){
		
	}
}

?>
